package com.ugoodtech.mdcc.core.repository;

import com.ugoodtech.mdcc.core.domain.CustomReportSms;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;

/**
 * Created by Lance on 2019-10-12.
 *
 * @author Lance Li
 */
public interface CustomReportSmsRepository extends CrudRepository<CustomReportSms, Long> {

  @Query("from CustomReportSms where customReportId=:customReportId")
  CustomReportSms getSmsSendResultByCustomReportId(@Param("customReportId")Long customReportId);

}
